package groupb6.shopsystem.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class User {
    @ApiModelProperty("id")
    private Integer id;
    @ApiModelProperty("昵称")
    private String name;
    @ApiModelProperty("身份")
    private Integer identity;
    @ApiModelProperty("账户")
    private String account;
    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("头像")
    private String avatar;
    @ApiModelProperty("手机号")
    private String tel;
}
